Automated tests are also ideal for rather arcane code such as a tree manipulation and, in particular, compilers. 对于相当晦涩的代码(如,对树的操作,尤其是编译器),自动化测试也是较理想的。
If you have multiple methods that all contain code to walk a tree, for example, it's a good idea to encapsulate the tree-walking algorithm, perhaps in a subclass. 如果多个方法均包含遍历树的代码,一种好的做法是(比如在一个子类中)封装遍历树的算法。
A key feature of zope. testing, py. test, and nose is that they all search a project's source code tree in an attempt to find all of its tests without having to have them centrally listed. test和nose的一个关键特性是,它们都可以搜索项目的源代码树,寻找项目的所有测试,所以不需要集中的测试列表。
The script compiles code from the grails-app tree and combines it with code from the base Grails ($ GRAILS_HOME) directory. 该脚本编译grails-app树中的代码并且将其与基本Grails($GRAILSHOME)目录中的代码组合在一起。
As you did with the client-side code for tree generation, start writing Java code for getting the initial data for the books in the JSON format. 与创建树的客户端代码一样,开始编写Java代码来获得JSON格式的书籍的初始数据。
This is your Samba source code tree. 这就是您的Samba源代码树。
The code for creating a TableTree is very similar to the code I include for Tree, so if you need support for older versions of Eclipse, you can use the TableTree control. 创建TableTree的代码与创建Tree的代码非常相似,因此,如果需要支持Eclipse的以前版本,那么可以使用TableTree控件。
Automatic Refactoring Method of Cloned Code Using Abstract Syntax Tree and Static Analysis 使用抽象语法树和静态分析的克隆代码自动重构方法
Nanmu gold in particular, a country to protect the value of premium timber, has already banned felling, and will keep the plant world and the new code into the file tree. 特别是金丝楠木,系国家特级保护的珍贵木材,早已明令禁止砍伐,并将存世和新种植的树木编号入档。
Now please write a code to simulate this tree. 现在请编写程序仿真这个树。
They hid the code under a tree. 他们把密电码藏在一棵树下。
Before he knew it, the PHP team had given him commit access to its source code tree. php团队给予他对本团队源代码树的提交访问权时,他还毫不知情。
Code group grants all code full trust and forms the root of the code group tree. 代码组向所有代码授予完全信任,它形成了代码组目录树的根。
This shows how Ruby's method_missing and Blocks are used to allow for some very compact code creating a component tree consisting of a menu_bar holding a menu with one menu_item. 这段示例代码则向我们展示了如何使用Ruby的methodmissing和Block来使得我们可以使用非常精炼的代码,创建出一个菜单栏,上面包含了拥有一个菜单项的菜单。
A Multi-coordinate Linkage Interpolation Method with Huffman Code Tree 用Huffman树实现的多坐标联动插补算法
A novel construction algorithm for symmetrical Reversible Variable Length Codes ( RVLC) is proposed based on the analysis of the symmetrical RVLC code tree, which is independent of the Huffman code. 在分析对称可逆变长码码树结构的基础上,提出了一种独立于Huffman码的对称可逆变长码构造算法。
In order to reduce the space complexity of the arithmetic and avoid transforming the source code to p-suffix tree, the method is improved based-on process blueprint. 为此,我们引入过程蓝图改进该方法,降低程序的空间复杂度,并避免将源代码变换为后缀树这一复杂过程。
By showing the users 'code information as tree shaped directory, tree shaped directory technic gets the operation more easily, more quickly and more exactly. 树形目录将用户地址编码信息以树形的方式进行管理,使操作更加简便,迅速,准确。
Our full attention in Chapter Five is given to NMBD driver coding and implementation, from which we can easily tell how much we benefit from Linux 'source code tree. 最后就到了NMBD驱动程序设计和实现的方法,从代码中可以看出Linux的源代码树对我有多大的帮助。
The system's dynamic link library encapsulates a series of function including database's call, clusters construction, thrice catalogue constructions tree, building the HTML code of the tree, etc. 系统的底层支撑动态链接库封装了实现数据库访问、类结构、三叉目录结构树、树结构HTML编码、树的遍历、子结点搜索、素材文件的流式传输等功能的一系列函数。
A hybrid allocation ( HA) algorithm, including two steps of initial partition of code tree and orthogonal variable-spreading-factor ( OVSF) code allocation, is presented for wideband code division multiple access ( WCDMA) system focusing on OVSF single-code allocation in this paper. 针对WCDMA系统中各种正交可变扩频码(OVSF码)的单码分配方案,提出一种混合分配(HA)算法.HA算法分为初始码树划分和OVSF码分配2个阶段。
Algorithm for Extracting Contour and Generating Chain Code Tree 图像区域边界抽取与链码树结构生成算法
Later based on the analysis of the Linux kernel architecture and the source code tree, the method of the Linux kernel porting is summarized. 然后深入分析了Linux内核的体系结构和源代码树结构,据此阐述了Linux内核移植工作的主要内容和方法。
The simulation results show that this algorithm can decrease the code fragments on the OVSF code tree and reduce the impact of reassignment process to system efficiently maintaining the utilization ratio of the downlink bandwidth at the same time. 仿真结果表明,该算法能在保持下行链路带宽利用率的同时,有效地减少OVSF码树的碎片并减轻重分配给系统带来的影响。
There are two algorithms in all. Firstly, trace region boundary and obtains chain code to construct tree structure of contours through a pixel vertex matrix. 首先通过构造像素顶点矩阵,利用像素顶点矩阵跟踪边界、抽取边界的顶点链码并生成围线树结构。
The relationship between machine description and code generation, and the technique of mapping RTL into object code by tree pattern matching are described in detail. 重点研究了机器描述与代码生成之间的关系、如何选用合适的中间表示进行目标机器指令系统的描述、树模式匹配的目标代码生成技术等。
Through the node carries on the code to the documents tree, trades the string of character attire for the integer, raises the inquiry speed. 通过对文档树中节点进行编码,将字符串装换为整数,提高查询速度。
Proposed a design method of the binary tree data structure which storaged by sequence mode in DNA computer, provided a specific example and code of Binary Tree in DNA computer, the experiment confirmed the feasibility of this method. 提出了DNA计算机中基于顺序存储方式的二叉树数据结构的设计方法,给出了一个二叉树的DNA编码及其仿真实例,实例结果表明该设计方法在DNA计算机上的可行性。
Secondly, designed automatic tracing machine to obtain vertex chain code and tree structure of contours at the same time of tracing the boundary of the image. 其次设计了边界跟踪自动机,利用自动机的输出获得边界的顶点链码,自动机跟踪所有图像边界的同时生成围线树结构。
First of all, to define a sort of database node code based on document tree model which make the operation of update enable, next, the set of XML database operation is defined according to the encoded data model. 首先,根据文档树模型定义一种支持更新操作的数据库数据节点的编码方式,其次,根据该编码的数据模型来定义出XML数据库操作集。